package design_pattern.lx3_single_pattern.lx_饿汉式;

/**
 * @Author Mr.wang
 * @Description
 * @Date 2020-04-15
 */
public class Singleton {
    private static Singleton instance = new Singleton();

    private Singleton() {
    }

    public static Singleton getInstance() {
        return instance;
    }
}
